<div class="layui-tab layui-tab-brief">
    <ul class="layui-tab-title">
        <li class="layui-this">修改QQ钱包账号</li>
    </ul>
</div>
<!--tab标签-->
<div class="layui-tab-brief">
    <div class="layui-tab-content" style="padding: 30px 20px">

        <div class="layui-tab-item layui-show">
            <blockquote class="layui-elem-quote">
                <p> 注意事项： </p>
                <p> 请自行将API证书文件(apiclient_key.pem和apiclient_cert.pem)上传至:{:EXTEND_PATH}Pay{:DS}{:$item['alias']}{:DS}pem{:DS}商户ID命名的文件夹{:DS} 下面</p>

            </blockquote>
            <form id="app-form" class="layui-form layuimini-form">
                <input type="hidden" name="id" readonly class="layui-input" value="{$item.id}">
                <input type="hidden" name="pay_types[]" value="qqpay" lay-verify="otherReq" lay-filter="pay_types" title="支付宝" checked>

                <div class="layui-form-item">
                    <label  class="layui-form-label">名称</label>
                    <div class="layui-input-inline">
                        <input type="text"  name="title"
                               autocomplete="off" value="{$item.title}" class="layui-input">
                    </div>
                </div>

                <div class="layui-form-item">
                    <label  class="layui-form-label">自定义订单标题</label>
                    <div class="layui-input-inline">
                        <input type="text"  name="order_title"
                               autocomplete="off" value="{$item.order_title}" class="layui-input">
                    </div>
                </div>


                <div class="layui-form-item">
                    <label class="layui-form-label">商户ID</label>
                    <div class="layui-input-inline">
                        <input type="text"  name="mch_id" required lay-verify="required" autocomplete="off"
                               value="{$item.mch_id}" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">API_key</label>
                    <div class="layui-input-block">
                        <input type="text"  name="api_key" required lay-verify="required" autocomplete="off"
                               value="{$item.api_key}" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">op_user_id(用户名@商户ID)</label>
                    <div class="layui-input-inline">
                        <input type="text"  name="op_user_id" required lay-verify="required" autocomplete="off"
                               value="{$item.op_user_id}" class="layui-input">
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">op_user_password(原密码Md5加密后转大写)</label>
                    <div class="layui-input-inline">
                        <input type="text"  name="op_user_password" required lay-verify="required" autocomplete="off"
                               value="{$item.op_user_password}" class="layui-input">
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">过期时间(秒)</label>
                    <div class="layui-input-inline">
                        <input type="text"  name="overtime"  autocomplete="off"
                               value="{$item.overtime|default=0}" class="layui-input">
                    </div>
                </div>
                <div class="hr-line"></div>
                <div class="submit-info text-center">

                    <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit="system.paymentaccount/save">确认</button>

                    <a class="layui-btn layui-btn-primary layui-btn-sm" layform-close>关闭</a>
                </div>
            </form>
        </div>
    </div>
</div>